home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / bbs / pprd199.zip / MAKEFILE < prev    next >
Text File  |  1996-10-06  |  1KB  |  56 lines

  1. #
  2. #       Makefile for PPRD
  3. #
  4. # You may wish to change the following four parameters
  5. #
  6.  
  7. WATINCLUDE=.            # path to WATTCP include files
  8. WATLIB=.                # path to WATTCP lib files
  9. DEBUG= D                # set to D for disable, E for enable symbolic debugging
  10.  
  11. #
  12. MODEL= C                # set to L for large, C for compact
  13. #
  14. #
  15. #
  16. # auto configure section
  17. #
  18. #
  19.  
  20. !if '$(DEBUG)'=='E'
  21. IDEBUG=-v
  22. TEXTDEBUG=enabled
  23. !elif '$(DEBUG)'=='D'
  24. IDEBUG=-v-
  25. TEXTDEBUG=disabled
  26. #!else
  27. #!error  DEBUG must be set to either E or D
  28. !endif
  29.  
  30. !if '$(MODEL)'=='L'
  31. CMODEL=-ml
  32. CLIB=$(WATLIB)\wattcplg.lib
  33. TEXTMODEL=large
  34. !elif '$(MODEL)'=='C'
  35. CMODEL=-mc
  36. CLIB=$(WATLIB)\wattcpcp.lib
  37. TEXTMODEL=compact
  38. !else
  39. !error  MODEL must be set to either C or L
  40. !endif
  41.  
  42. CFLAGS= -M -O $(CMODEL) $(IDEBUG) -I$(WATINCLUDE)
  43. CC= bcc
  44.  
  45. #
  46. #
  47. #  list of executables
  48. #
  49. #
  50.  
  51. pprd.exe: pprd.c getopt.c
  52.     $(CC) $(CFLAGS) pprd.c getopt.c $(CLIB)
  53.  
  54. jd.exe: jd.c
  55.     $(CC) $(CFLAGS) jd.c $(CLIB)
  56.